package com.gxa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("内容评论管理")
public class ContentCommentManagement {

    @ApiModelProperty("文章标题")
    private String articleTitle;

    @ApiModelProperty("发布渠道")
    private String releaseWay;

    @ApiModelProperty("发布频道")
    private String releaseChannel;

    @ApiModelProperty("文章类型")
    private String articleType;

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty("评论数")
    private int commentCount;

    @ApiModelProperty("最近评论时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date lastTime;

    public ContentCommentManagement() {
    }

    public ContentCommentManagement(String articleTitle, String releaseWay, String releaseChannel, String articleType, String keyword, int commentCount, Date lastTime) {
        this.articleTitle = articleTitle;
        this.releaseWay = releaseWay;
        this.releaseChannel = releaseChannel;
        this.articleType = articleType;
        this.keyword = keyword;
        this.commentCount = commentCount;
        this.lastTime = lastTime;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getReleaseWay() {
        return releaseWay;
    }

    public void setReleaseWay(String releaseWay) {
        this.releaseWay = releaseWay;
    }

    public String getReleaseChannel() {
        return releaseChannel;
    }

    public void setReleaseChannel(String releaseChannel) {
        this.releaseChannel = releaseChannel;
    }

    public String getArticleType() {
        return articleType;
    }

    public void setArticleType(String articleType) {
        this.articleType = articleType;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }
}
